<div class="pageHeader">
	<form onsubmit="return navTabSearch(this);" action="<?php echo site_url('admin/video/classification_management');?>" method="post">
	<div class="searchBar">
		<table class="searchContent">
			<tr>
				<td>
					分类名：<input type="text" name="name" />
				</td>
			</tr>
		</table>
		<div class="subBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li>
			</ul>
		</div>
	</div>
	</form>
</div>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
                        <?php if($type != 3):?>
                        <li><a class="add" href="<?php echo site_url('admin/video/classification_management');?>?upid={sid_user}&type=<?php echo $type+1;?>" target="navTab" rel="video_classification_management"><span>查看子分类</span></a></li>
                        <?php endif;?>
			<li><a class="delete" href="<?php echo site_url('admin/video/del_classification_management');?>?tid={sid_user}" target="ajaxTodo" title="确定要删除吗?"><span>删除</span></a></li>
			<li><a class="edit" href="<?php echo site_url('admin/video/edit_classification_management');?>/{sid_user}" target="navTab"><span>修改</span></a></li>
			<li class="line">line</li>
		</ul>
	</div>
	<table class="table" width="100%" layoutH="138">
		<thead>
			<tr>
				<th width="130">名称</th>
				<th width="120">讲师</th>
				<th width="100">价格</th>
				<th width="130">子分类</th>
				<th width="230">简介</th>
				<th></th>
			</tr>
		</thead>
		<tbody>
		<?php  foreach($data as $item):?>
			<tr target="sid_user" rel="<?php echo $item->tid;?>">
				<td><?php echo $item->name;?></td>
				<td><?php echo $item->tutor;?></td>
				<td><?php echo $item->price;?></td>
				<td><?php echo isset($count[$item->tid])?$count[$item->tid]:0;?></td>
				<td><?php echo $item->summary;?></td>
				<td></td>
			</tr>
		<?php endforeach;?>
		</tbody>
	</table>
</div>